package com.software.car.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.*;

/**
 * @Author 魔法はまだ解けない
 * @Date 2021/1/27
 */
@RestController
@RequestMapping("/public")
public class TestController {

    Logger logger = LoggerFactory.getLogger(getClass());
    @PostMapping("/singUp2")
    public String testParams(@RequestParam String name){
        logger.info("执行——TestController——路径：/test/testParams");
        logger.info("执行方法——testParams()方法");
        System.out.println(name);
        return "ok";
    }
}
